package com.nanhai.buddhist.college.module.study.convert.attendancemanagement;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import com.nanhai.buddhist.college.module.study.controller.teacher.vo.AttendanceManagementAddReq;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.study.controller.admin.attendancemanagement.vo.*;
import com.nanhai.buddhist.college.module.study.dal.dataobject.attendancemanagement.AttendanceManagementDO;

/**
 * 考勤管理 Convert
 *
 * @author HeShuai
 */
@Mapper
public interface AttendanceManagementConvert {

    AttendanceManagementConvert INSTANCE = Mappers.getMapper(AttendanceManagementConvert.class);

    AttendanceManagementDO convert(AttendanceManagementCreateReqVO bean);

    AttendanceManagementDO convert(AttendanceManagementUpdateReqVO bean);

    AttendanceManagementRespVO convert(AttendanceManagementDO bean);

    List<AttendanceManagementRespVO> convertList(List<AttendanceManagementDO> list);

    PageResult<AttendanceManagementRespVO> convertPage(PageResult<AttendanceManagementDO> page);

    List<AttendanceManagementExcelVO> convertList02(List<AttendanceManagementDO> list);

    AttendanceManagementDO convertAddReq(AttendanceManagementAddReq bean);


}
